package com.ruoyi.app.config.properties;

import java.util.List;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author:zgy
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "patfood")
public class PatFoodProperties {
    /**
     * api token 有效期
     */
    private Integer apiTokenExpireDay;

    private List<Integer> closedPetType;


    /**
     * 顺丰快递
     */
    //顾客编码
    private String expClientCode;
    //环境的地址
    private String expCallUrl;
    //环境的校验码
    private String expCheckWord;

    /**
     * 京东快递是否开放
     */
    private Boolean jdEnable;
    private String jdUrl;
    private String jdAppKey;
    private String jdAppSecret;
    private String jdAccessToken;

}
